/**
*	@class COpenGLMesh
*
*	@brief
*
*	@author William McVicar
*/

#pragma once

#ifndef __OPENGLMESH_H_INCLUDED__
#define __OPENGLMESH_H_INCLUDED__
#ifdef OPENGL

//  Library Includes

//  Local Includes
#include "GeometryChunk.h"
#include "VertexFormat.h"

//  Macros

//  Forward Declarations

//  Types

//  Constants

//  Prototypes

namespace Protein
{

class Mesh : public GeometryChunk
{
	//Member Functions
public:

	Mesh();
	~Mesh();

	virtual bool Load3DS( const c8* _szFilename );
	virtual bool LoadFBX( const c8* _szFilename );
	virtual bool Load( const c8* _szFilename ); 

	VertexFormat*	vertexFormat() { return m_pVertexFormat; }

protected: 

private: 

	//Member Variables
public:

protected: 

private: 

	VertexFormat*		m_pVertexFormat;

};

#include "OpenGLMesh.inl"

}

#endif //OPENGL
#endif //__OPENGLMESH_H_INCLUDED__
